package ru.agiledev.akb.client;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import ru.agiledev.akb.shared.exception.ValidationException;

/**
 * Created by a.kirillov
 * Date: 4/4/11 Time: 11:15 PM
 */
@RemoteServiceRelativePath("validationServlet")
public interface ValidationService extends RemoteService {

    public boolean validateLogin(String login) throws ValidationException;

    public boolean validateEmail(String email) throws ValidationException;

    public String validatePassword(String password);


}
